<template>
        <el-form ref="form" :model="form"  label-width="150px">
             <el-form-item label="Short Name" label-width="">
       <div style="width:200px;">
          <el-input v-model="form.name"></el-input>
       </div>
     
    </el-form-item>
    <el-form-item label="Category"  >
      <el-select v-model="form.region" placeholder="选择Unit">
        <el-option label="kg" value="kg11"></el-option>
        <el-option label="km" value="km"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="Physical Dimensions"  >
       <div style="width:200px;">
      <el-input v-model="form.name"></el-input>
      </div>
    </el-form-item>
     <el-form-item label="Physical Dimensions" >
       <div style="width:200px;">
      <el-input v-model="form.name"></el-input>
      </div>
    </el-form-item>
     <el-form-item label="FactorSiToUnit">
       <div style="width:200px;">
      <el-input v-model="form.name"></el-input>
      </div>
    </el-form-item>
        </el-form>
</template>



<script lang="ts">
import { defineComponent, ref, computed } from 'vue'

export default defineComponent({
    components:{},  data() {
    return {
      form: {
        name: '',
        region: '',
        date1: '',
        date2: '',
        delivery: false,
        type: [],
        resource: '',
        desc: ''
      },  formInline: {
          user: '',
          region: '',
          name:'',
          yinziItp:'',
          yinziPti:'',
          proItp:'',
          proPti:'',
          fenmuPti:'',
          fenmuItp:'',
        }
    }
  },
})
</script>



<style scoped lang="less">
@import '../../assets/style/index';
 
.editor {
  height: 100%;
  width: 100%;
  .isEmpty {
    display: none;
  }
  & > :deep(.el-tabs__header) {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: @main-row-height;
    border-bottom: @border-style;
    background-color: @main-background-color;
    margin: 0;
    .el-tabs__nav-wrap.is-scrollable {
      padding: 0 30px;
    }
    .el-tabs__nav-wrap {
      .el-tabs__nav-next,
      .el-tabs__nav-prev {
        width: 30px;
        height: @main-row-height;
        line-height: @main-row-height;
        .el-icon {
          box-sizing: content-box;
          margin: 5px;
          padding: 4px;
        }
        .el-icon:hover {
          background-color: #ccc;
        }
      }
      .el-tabs__nav-scroll {
        .el-tabs__nav {
          border-radius: 0;
          border: 0;
          .el-tabs__item {
            height: @main-row-height;
            line-height: @main-row-height;
          }
          .el-tabs__item:hover {
            background-color: #ccc;
          }
          .el-tabs__item.is-active {
            background-color: @content-background-color;
            border-bottom: 3px #409eff solid;
          }
        }
      }
    }
  }
  & > :deep(.el-tabs__content) {
    max-height: calc(~'100% - @{main-row-height}');
    min-height: calc(~'100% - @{main-row-height}');
    overflow-y: auto;
    background-color: @content-background-color;
  }
}
.empty {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.el-row {
  margin-bottom: 20px;
  &:last-child {
    margin-bottom: 0;
  }
}
.el-col {
  border-radius: 4px;
}
.bg-purple-dark {
  background: #99a9bf;
}
.bg-purple {
  background: #d3dce6;
}
.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
.el-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>
